home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11898 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1010 b 

  1. Path: news.iadfw.net!usenet
  2. From: Mark Nelson <markn@airmail.net>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Help
  5. Date: Sat, 16 Mar 1996 16:39:32 -0600
  6. Organization: customer of Internet America
  7. Message-ID: <314B4324.588@airmail.net>
  8. References: <4iesdd$4ts@news.bellglobal.com>
  9. NNTP-Posting-Host: dal13-12.ppp.iadfw.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
  14.  
  15. Bogdan Florescu wrote:
  16. > I have a problem:
  17. > In MS Visual C++ v1.5 I need to edit a function which prints in an
  18. > edit box a message on two lines. How do I do this? The "\n" trick
  19. > doesn't work, even though I checked the "Multiline" and the "Want
  20. > Return" options. The box is Return Only. How do I print an "Enter"
  21. > from within a function inside this edit box?
  22. > Please post the answer or EMail me at bogdanfl@aei.ca
  23. > Thanks.
  24.  
  25. print "\r\n" and you will get a line break in the
  26. multiline edit control.
  27.  
  28. Mark Nelson
  29. http://web2.airmail.net/markn
  30.